#ifndef FINDDIALOG_H
#define FINDDIALOG_H

//#include <QDialog>
#include "mainwindow.h"
//#include <QTextCursor>


namespace Ui {
    class FindDialog;
}

class FindDialog : public QDialog
{
    Q_OBJECT
    MainWindow * window;

public:
    explicit FindDialog(MainWindow * window, QWidget *parent = 0);
    ~FindDialog();
    QTextCursor cursor;

private:
    Ui::FindDialog *ui;
public slots:
    void findId();
    void findNext();
};

#endif // FINDDIALOG_H
